﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;

namespace WPFLib
{
    public class CComboBoxView : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged;

        ImageSource _igSource;
        /// <summary>
        /// 图标资源
        /// </summary>
        public ImageSource IgSource
        {
            get => _igSource;
            set
            {
                _igSource = value;
                this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("IgSource"));
            }
        }

        string _fileName;
        /// <summary>
        /// 文本说明
        /// </summary>
        public string FileName
        {
            get => _fileName;
            set
            {
                _fileName = value;
                this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("FileName"));
            }
        }
    }
}
